import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:high_help_apps/common/values/define.dart';

/// FileName: inkwell
/// Author: admin
/// Date: 2021-09-05 14:15
/// Description: 水波纹组件

class CommonInkWell extends StatelessWidget {

  CommonInkWell({this.color, this.splashColor, this.onTap, this.child, this.width, this.height});

  final double? width;
  final double? height;
  final Color? color;
  final Color? splashColor;
  final vfunc? onTap;
  final Widget? child;

  @override
  Widget build(BuildContext context) {
    return Ink(
      color: color,
      width: width,
      height: height,
      child: InkWell(
        splashColor: splashColor,
        onTap: onTap,
        child: child,
      ),
    );
  }
}

